<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
      <link href="<%=request.getContextPath() %>/css/style.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" src="<%=request.getContextPath() %>/js/jquery.js"></script>

<script type="text/javascript">
$(function(){	
	//导航切换
	$(".menuson li").click(function(){
		$(".menuson li.active").removeClass("active")
		$(this).addClass("active");
	});
	
	$('.title').click(function(){
		var $ul = $(this).next('ul');
		$('dd').find('ul').slideUp();
		if($ul.is(':visible')){
			$(this).next('ul').slideUp();
		}else{
			$(this).next('ul').slideDown();
		}
	});
})	
</script>
</head>
<body style="background:#f0f9fd;">
<c:if test="${empty currentUser}">
<jsp:include page="404.jsp"/>
</c:if>
<c:if test="${!empty currentUser}">
	<div class="lefttop"><span></span>通讯录</div>
    <dl class="leftmenu">
    <dd>
    <div class="title">
    
    <span><img src="<%=request.getContextPath() %>/images/leftico01.png" /></span>管理信息
    </div>
    	<ul class="menuson">
        <li class="active"><cite></cite><a href="${pageContext.request.contextPath}/index.jsp" target="rightFrame">首页模版</a><i></i></li>
        <li><cite></cite><a href="<%=basePath%>user/listusers" target="rightFrame">用户数据列表</a><i></i></li>
        <li><cite></cite><a href="<%=basePath%>homepictures/backstagesickness" target="rightFrame">病症数据列表</a><i></i></li>
        <li><cite></cite><a href="<%=basePath%>mountinformation/selectproduct" target="rightFrame">产品数据表</a><i></i></li>
        <li><cite></cite><a href="<%=basePath%>filesave/searchFile" target="rightFrame">健康档案</a><i></i></li>
        <li><cite></cite><a href="<%=basePath%>advice/advicelist" target="rightFrame">用户咨询</a><i></i></li>
        <li><cite></cite><a href="<%=basePath%>DailyReport/listdailyreport" target="rightFrame">每日情况</a><i></i></li>
        <li><cite></cite><a href="<%=basePath%>hathappenedat/selecthealthcare" target="rightFrame">加盟统计</a><i></i></li>
        <li><cite></cite><a href="<%=basePath%>homepictures/showhealthknowledge" target="rightFrame">健康常识</a><i></i></li>
        <li><cite></cite><a href="<%=basePath%>hathappenedat/selectmakeapp" target="rightFrame">预约统计</a><i></i></li>
        <li><cite></cite><a href="<%=basePath%>hathappenedat/medicalcare" target="rightFrame">医疗养生</a><i></i></li>
        <li><cite></cite><a href="<%=basePath%>Symptom/constitution" target="rightFrame">体质</a><i></i></li>
        <li><cite></cite><a href="<%=basePath%>order/orderproduct" target="rightFrame">订单</a><i></i></li>
         <li><cite></cite><a href="<%=basePath%>transfer/usercomment" target="rightFrame">用户评论</a><i></i></li>
        </ul>    
    </dd>
     <dd>
    <div class="title">
    <span><img src="images/leftico02.png" /></span>设置  
    </div>
    <ul class="menuson">
     <li><cite></cite><a href="<%=basePath%>version/selectverbooking" target="rightFrame">帮助</a><i></i></li>
        <li><cite></cite><a href="<%=basePath%>version/selectversion" target="rightFrame">更新软件</a><i></i></li>
        </ul>     
    </dd> 
    </dl>
    </c:if>
</html>
